/* @(#)GSOrderDetailOfBusVO.java   
 *
 * Project: GS
 *
 * Modify Information:
 * =============================================================================
 *   Author       Date       Description
 *   ------------ ---------- ---------------------------------------------------
 *   Jenny Li    2006-3-18     新增
 *
 * Copyright Notice:
 * =============================================================================
 *    Copyright (c) 2001-2006 Beijing HiTRUST Technology Co., Ltd. 1808 Room, 
 *        Science & Technology Building, No. 9 South Street, Zhong Guan Cun, 
 *        Haidian District, Beijing ,100081, China All rights reserved.
 *
 *    This software is the confidential and proprietary information of
 *        Beijing HiTRUST Technology Co., Ltd. ("Confidential Information").
 *        You shall not disclose such Confidential Information and shall use it
 *        only in accordance with the terms of the license agreement you entered
 *        into with HiTRUST.
 *
 * Warning:
 * =============================================================================
 * 
 */
package com.hitrust.gs.vo;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.hitrust.gs.service.GSBaseBean;

/**
 * 
 */
public class GSOrderDetailOfBusQryVO implements GSBaseBean {

    public String orderid;
    public String manufactureName;  //产品名称
    public String manufSpec;
    public String manufType;
    public String manufBrand;
    public double orderCount;
    public String quantUnit;
    public String orderDetailStatus;
    public String orderCreateDate;  //创建时间
    public String orderDeptId;      //订货单位
    public String deliverGoodsAddr; //送货地址

    public String conCentricityId; //集中编码
    public String orderDetailId;    //订单明细编码
    public String orderDeptName;
    public double goodUnitprice;
    public String deliverGoodsDate;
    public String deliverGoodsTime;
    public String providerName;
    public String isTradeFlatManuf;
    public String providerId;
    public String deliverGoodsId;
    public String deliverGoodsConfDate;
    public String deliverGoodsConfTime;
    public String deliverMan;
    public String deliverGoodsPhone;
    public double deliverGoodsCount;
    public String signDate;
    public double signCount;
    public String signPerson;
    public String isTradeFlatProvider;
    //add 4-1
    public String authorizeadvice;
    //add 4-27
    public String authorizeid;
    public String authorizedate;
  
    public String cancelcause;
    public String cancelperson;
    public String canceldate;
    
    public String rejectcause;
    public String rejectdate;
    public String rejecttime;
    
    public String disposeCancelReason;
    public String disposeCancelPerson;
    public String disposeCancelTime;
    
    public Object process(ResultSet aResultSet) throws SQLException {
        GSOrderDetailOfBusQryVO tGSOrderVO = new GSOrderDetailOfBusQryVO();
        tGSOrderVO.orderDetailId = aResultSet.getString("P1").trim();
        tGSOrderVO.conCentricityId = aResultSet.getString("P2");
        tGSOrderVO.manufactureName = aResultSet.getString("P3").trim();
        tGSOrderVO.manufSpec = aResultSet.getString("P4") == null? "":aResultSet.getString("P4").trim();
        tGSOrderVO.manufType = aResultSet.getString("P5") == null? "":aResultSet.getString("P5").trim();
        tGSOrderVO.manufBrand = aResultSet.getString("P6") == null? "":aResultSet.getString("P6").trim();
        tGSOrderVO.providerName = aResultSet.getString("P7");
        tGSOrderVO.orderCount = aResultSet.getDouble("P8");
        tGSOrderVO.quantUnit = aResultSet.getString("P9")== null?"":aResultSet.getString("P9");
        tGSOrderVO.goodUnitprice = aResultSet.getDouble("P10");
        tGSOrderVO.deliverGoodsDate = aResultSet.getString("P11");
        tGSOrderVO.deliverGoodsTime = aResultSet.getString("P12");
        tGSOrderVO.orderDetailStatus = aResultSet.getString("P13").trim();
        tGSOrderVO.orderid = aResultSet.getString("P14");
        tGSOrderVO.isTradeFlatManuf = aResultSet.getString("P15")== null? "" : aResultSet.getString("P15").trim();
        tGSOrderVO.providerId = aResultSet.getString("P16")== null? "" : aResultSet.getString("P16").trim();
        tGSOrderVO.deliverGoodsId = aResultSet.getString("P17")== null? "" : aResultSet.getString("P17").trim();
        tGSOrderVO.deliverMan = aResultSet.getString("P18")== null? "" : aResultSet.getString("P18").trim();
        tGSOrderVO.deliverGoodsPhone = aResultSet.getString("P19") == null? "" : aResultSet.getString("P19").trim();
        tGSOrderVO.deliverGoodsCount = aResultSet.getDouble("P20");
        tGSOrderVO.deliverGoodsConfDate = aResultSet.getString("P21")== null? "" : aResultSet.getString("P21").trim();
        tGSOrderVO.deliverGoodsConfTime = aResultSet.getString("P22")== null? "" : aResultSet.getString("P22").trim();
        tGSOrderVO.signDate = aResultSet.getString("P23")== null? "" : aResultSet.getString("P23").trim();
        tGSOrderVO.signCount = aResultSet.getDouble("P24");
        tGSOrderVO.signPerson = aResultSet.getString("P25")== null? "" : aResultSet.getString("P25").trim();
        tGSOrderVO.isTradeFlatProvider = aResultSet.getString("P26");
        tGSOrderVO.authorizeadvice = aResultSet.getString("P27");
        tGSOrderVO.authorizeid = aResultSet.getString("P28");
        tGSOrderVO.authorizedate = aResultSet.getString("P29");
        tGSOrderVO.cancelcause = aResultSet.getString("P30");
        tGSOrderVO.cancelperson = aResultSet.getString("P31");
        tGSOrderVO.canceldate = aResultSet.getString("P32");
        tGSOrderVO.rejectcause = aResultSet.getString("P33");
        tGSOrderVO.rejectdate = aResultSet.getString("P34");
        tGSOrderVO.rejecttime = aResultSet.getString("P35");
        
        tGSOrderVO.disposeCancelReason = aResultSet.getString("P36")== null? "" : aResultSet.getString("P36").trim();;
        tGSOrderVO.disposeCancelPerson = aResultSet.getString("P37")== null? "" : aResultSet.getString("P37").trim();;
        tGSOrderVO.disposeCancelTime = aResultSet.getString("P38")== null? "" : aResultSet.getString("P38").trim();;
       
        return tGSOrderVO;

    }

}
